package com.example.java.cep;

public class PayEvent {
    private long id;
    private String state;
    private long timestamp;

    public PayEvent() {
    }

    public PayEvent(long id, String state, long timestamp) {
        this.id = id;
        this.state = state;
        this.timestamp = timestamp;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "PayEvent{" +
                "id=" + id +
                ", state='" + state + '\'' +
                ", timestamp=" + timestamp +
                '}';
    }
}
